.protocol-view {
  width: 100%;
  min-height: 100%;
  height: auto;
  overflow: auto;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 999;

  .protocol-head {
    width: 100%;
    height: 0.88rem;
    background: #fff;
    box-shadow: 1px 1px 0 rgba(234, 234, 234, 1);
    line-height: 0.88rem;
    text-align: center;
    position: relative;

    button {
      width: 0.19rem;
      height: 0.34rem;
      position: absolute;
      left: 0.3rem;
      top: 0.27rem;
      border: 0;
      -webkit-appearance: none;
      -webkit-tap-highlight-color: rgba(255, 255, 255, 0);

      img {
        width: 0.19rem;
        height: 0.34rem;
        display: inline-block;
        position: absolute;
        left: 0;
        top: 0;
      }
    }

    span {
      font-size: 0.34rem;
      color: #141313;
    }
  }

  .protocol-content {
    padding: 0 0.3rem;
    margin-bottom: 0.3rem;

    .title {
      margin: 0.6rem 0 0.56rem 0;
      color: #141313;
      font-size: 0.26rem;
      display: flex;
      justify-content: space-between;
    }

    .main {
      &::after {
        overflow: hidden;
        display: table;
        visibility: hidden;
        content: '';
        clear: both;
      }

      .main-text {
        color: #959595;
        font-size: 0.24rem;
      }

      .sign-wrapper {
        .title {
          color: #141313;
          font-size: 0.3rem;
          margin: 0;
        }

        .sign {
          margin-top: 0.38rem;
          font-size: 0.24rem;
          color: #a9a9a9;
          display: flex;

          .label {
            line-height: 0.24rem;
          }

          .line {
            height: 0.24rem;
            flex: 1;
            border-bottom: 1px solid #c5c5c5;
            display: inline-block;
          }
        }
      }

      .switch {
        width: 1.42rem;
        height: 0.48rem;
        background: #fff;
        border-radius: 0.24rem;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
        display: flex;
        float: right;
        align-items: center;
        padding: 0.08rem;
        box-sizing: border-box;
        margin-top: 0.6rem;

        span {
          font-size: 0.24rem;
          flex: 1;
          color: #a9a9a9;
          box-sizing: border-box;
          text-align: center;

          &:nth-of-type(1) {
            border-right: 1px solid #eaeaea;
          }
        }

        span.active {
          color: #b49064;
        }

        &::after {
          overflow: hidden;
          display: table;
          visibility: hidden;
          content: '';
          clear: both;
        }
      }
    }
  }

  .btn-wrapper {
    height: 1rem;
    width: 100%;
    padding: 0.16rem 0.3rem;
    display: flex;
    box-sizing: border-box;
    border-top: 1px solid #f1f1f1;

    .btn {
      flex: 1;
      height: 0.68rem;
      border-radius: 0.33rem;
      display: flex;
      align-items: center;
      justify-content: center;

      &:nth-of-type(1) {
        margin-right: 0.3rem;
      }
    }

    .btn-refuse {
      background: #f6f6f6;
      color: #323232;
      font-size: 0.32rem;
    }

    .btn-agree {
      background: #b49064;
      color: #fff;
      font-size: 0.32rem;
    }
  }
}
